<template>
  <div>
    姓名：<slot :info="{ fname: firstName, lname: lastName}">{{ firstName + ' ' + lastName }}</slot>
  </div>
</template>

<script>
export default {
  name: 'ShwName',
  props: {
    firstName: {
      type: String,
      default: ''
    },
    lastName: {
      type: String,
      default: ''
    }
  }
}
</script>

<style>
</style>
